package updown.handler.ex;

public class ParkException extends RuntimeException{

	private static final long serialVersionUID = 3513008690671260644L;
	
	private String msg;
	private String code;

	public ParkException(String code, String meg){
		super(meg);
		this.code = code;
	}
	
	public ParkException(String msg){
		super(msg);
		this.setMsg(msg);
	}

	public String getMsg() {
		return msg;
	}
	
	public void setMsg(String msg) {
		this.msg = msg;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCode() {
		return code;
	}
}
